package router

import (
	"github.com/gin-gonic/gin"
	"monthly-test/internal/api"
)

func Router(r *gin.Engine) {

	r.POST("/upload", api.Upload)
	RouterGroup := r.Group("api")
	{
		UserRouter(RouterGroup)
		GroupRouter(RouterGroup)
		VideoRouter(RouterGroup)
	}
}
